#import "JoyousQuakeView.h"


@implementation JoyousQuakeView



- (void)setFlutter:(JoyousQuakeModel *)flutter {
	_flutter = flutter;

	//: 配置cell的UI

	NSString *embarkSymphonyForest = [NSString stringWithFormat:@"%ld", flutter.apex];
	self.yardArchiveMarvelLabel.text = embarkSymphonyForest;

}
//: self.jeopardyButton 的点击事件
- (void)action_0 {}

- (UILabel *)yardArchiveMarvelLabel {
	if (!_yardArchiveMarvelLabel) {
	
        _yardArchiveMarvelLabel = [[UILabel alloc] init];
        _yardArchiveMarvelLabel.text = @"label_1";
        _yardArchiveMarvelLabel.font = [UIFont systemFontOfSize:19 weight:UIFontWeightRegular];
        _yardArchiveMarvelLabel.textColor = [UIColor colorWithRed:50/255.0 green:170/255.0 blue:16/255.0 alpha:0.6];
        _yardArchiveMarvelLabel.textAlignment = NSTextAlignmentCenter;
        _yardArchiveMarvelLabel.numberOfLines = 3;
	}
	return _yardArchiveMarvelLabel;
}

- (UIView *)zenithVividView {
	if (!_zenithVividView) {
	
        _zenithVividView = [[UIView alloc] init];
        _zenithVividView.size = CGSizeMake(36, 111);
        _zenithVividView.left = 36;
        _zenithVividView.top = 42;
	}
	return _zenithVividView;
}

//: self.enchantingFlourishSereneButton 的点击事件
- (void)action_4 {}

- (void)hopeEnigmaConfigViews {

    //: 描述_0
    self.jeopardyButton = [[UIButton alloc] initWithFrame:CGRectZero];
    self.jeopardyButton.frame = CGRectMake(45, 10, 75, 39);
    UIImage *zealotHopeAmber = [UIImage imageNamed:@"images/icon_0.png"];
    if (zealotHopeAmber) {
	    [self.jeopardyButton setImage:zealotHopeAmber forState:UIControlStateNormal];
    }
    [self.jeopardyButton setTitle:@"button_0" forState:UIControlStateNormal];
    [self.jeopardyButton setTitle:@"button_selected_0" forState:UIControlStateSelected];
    [self.jeopardyButton setTitleColor:[UIColor colorWithRed:83/255.0 green:133/255.0 blue:21/255.0 alpha:0.9] forState:UIControlStateNormal];
    [self.jeopardyButton setTitleColor:[UIColor colorWithRed:54/255.0 green:152/255.0 blue:170/255.0 alpha:0.5] forState:UIControlStateSelected];
    [self.jeopardyButton addTarget:self action:@selector(action_0) forControlEvents:UIControlEventTouchUpInside];
    [self addSubview:self.jeopardyButton];

	//: 描述_1
	[self addSubview:self.yardArchiveMarvelLabel];
	[self.yardArchiveMarvelLabel mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(128);
		make.height.mas_equalTo(80);
		make.top.equalTo(@(12));
		make.bottom.equalTo(@(10));
	}];


    //: 描述_2
    self.gratitudeGlistenSolarTextView = [UITextView new];
    [self addSubview:self.gratitudeGlistenSolarTextView];
	[self.gratitudeGlistenSolarTextView mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(157);
		make.height.mas_equalTo(77);
		make.bottom.equalTo(@(29));
	}];

	//: 描述_3
	[self addSubview:self.zenithVividView];


    //: 描述_4
    self.enchantingFlourishSereneButton = [[UIButton alloc] initWithFrame:CGRectZero];
    UIImage *lush = [UIImage imageNamed:@"images/icon_4.png"];
    if (lush) {
	    [self.enchantingFlourishSereneButton setImage:lush forState:UIControlStateNormal];
    }
    [self.enchantingFlourishSereneButton setTitle:@"button_4" forState:UIControlStateNormal];
    [self.enchantingFlourishSereneButton setTitle:@"button_selected_4" forState:UIControlStateSelected];
    [self.enchantingFlourishSereneButton setTitleColor:[UIColor colorWithRed:70/255.0 green:171/255.0 blue:43/255.0 alpha:0.5] forState:UIControlStateNormal];
    [self.enchantingFlourishSereneButton setTitleColor:[UIColor colorWithRed:144/255.0 green:6/255.0 blue:113/255.0 alpha:0.9] forState:UIControlStateSelected];
    [self.enchantingFlourishSereneButton addTarget:self action:@selector(action_4) forControlEvents:UIControlEventTouchUpInside];
    [self addSubview:self.enchantingFlourishSereneButton];
	[self.enchantingFlourishSereneButton mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(196);
		make.height.mas_equalTo(122);
		make.top.equalTo(@(30));
	}];
}


@end